home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / programming / amos / amoslist-1294.lzh / AMOSLIST / text0112.txt < prev    next >
Encoding:
Text File  |  1995-01-03  |  398 b   |  15 lines

  1. > Does amos support booleans ?
  2.  
  3. No.
  4.  
  5. > I need an array of 19 x 29 x 3 Booleans..
  6. > I know I can stuff the three bits in one integer...
  7. > But then I must check with 'AND's.. which is slow.
  8. > And add them with 'OR's..
  9.  
  10.     Or use the Btst function.  You can test specific bits of an integer
  11. and it's probably implemented with an identical machine language instruction
  12. so it is probably pretty fast.
  13.  
  14.